class CreateEvents < ActiveRecord::Migration
  def self.up
    add_column :users, :manager, :boolean, :default => false

    create_table :events do |t|
      t.column :name, :string
      t.column :description, :text
      t.column :start_date, :date
      t.column :end_date, :date
    end
  end

  def self.down
    drop_table :events

    remove_column :users, :manager
  end
end
